Updated the checkPoint function in ellipse.

CenterX is not correct when being passed to checkPoint.