fix near point analysis
Merge pull request #5 from rlwarford/master

Fix near point analysis