Find the length of the major or minor axes of an ellipse