cleanup and removed precision parameter from Collider constructor
Cleanup and bugfix
Added a isAlmostEqual method