+ cleaned up the code with Marco
+ cleaned up the code with Marco

git-svn-id: https://wind-dev2.nrel.gov/svn/MAP/trunk@39 fdd34a08-49f5-8b44-97a8-af423440cb8e

Former-commit-id: b80efeba6747c7e72ffc67deb6a00d4c0bdbdcf6
OpenFAST/OpenFAST,OpenFAST/OpenFAST,OpenFAST/OpenFAST