Refactor sgp4 and rv2coe

Removed most of the mutability from sgp4 and rv2coe