- split MiscVars from OtherStates;  - modified comments for Doxygen style;  - fixed indentation of IF statements; combined several IF statements for efficiency and readability;  - modified CalcContStateDeriv so that it always initializes K before using it and so that it calculates the parts of the derivative that are needed to compute TMD_GroundHookDamp constants, which are then used to compute the other two elements of the derivative array.  - added call to CalcContStateDeriv in CalcOutput so that the misc variables are updated there, too (i.e., not using old values from last call to UpdateStates).
- split MiscVars from OtherStates; 
- modified comments for Doxygen style; 
- fixed indentation of IF statements; combined several IF statements for efficiency and readability; 
- modified CalcContStateDeriv so that it always initializes K before using it and so that it calculates the parts of the derivative that are needed to compute TMD_GroundHookDamp constants, which are then used to compute the other two elements of the derivative array. 
- added call to CalcContStateDeriv in CalcOutput so that the misc variables are updated there, too (i.e., not using old values from last call to UpdateStates).

OpenFAST/OpenFAST,OpenFAST/OpenFAST,OpenFAST/OpenFAST