added method to test float equality and test class for it
added new method and test class
new algorithm for point-quad-distance