Moved mission calculation methods to a better place.
Use the correct Math method to calculate a hypotenuse.