Improved method names, added extra documentation
Using double instead of float for distance calculation
Added a collision checker