Cleaned up ClimateCommon.cpp code

Cleaned up code, this library should be ready for review to get an idea
of how it works. Now on to RA_Climate, then testing