This calculates an ellipse's eccentricity. The eccentricities range from 0 to 1. 0 indicating a perfect circle, while 1 indicates a straight line.