changed the rest of the methods that were created to demonstrate the math behind the conversions into a helper class