Moved functions in AstronomyAlgorithms to a class and added epoch change