made sure that not all functions were public and changed some to private
that need not be exposed.
also added in maximum error to deal with floating point inaccuracies
I am going to use the area of triangles when determining if the point is
inside of another square to determine containment. This was just an
important step