added function to compute distance from point to ellipse. Code from http://www.geometrictools.com/Documentation/DistancePointEllipseEllipsoid.pdf
added function to test if point is within ellipse. Commented out unused identity tensor