Added eccentricity function.