Slight modifications to documentation and added two methods for checking
if a position is within a specified radius of another and has the same Z
coordinate.
Slight fix in documentation and renamed a local variable to a more
sensible name within a method.