Added getClosest option
Merge pull request #2 from PBParadox/master

Added getClosest option