First commit.
Merge pull request #22 from vivekimsit/feature-closest-method

Adds closest method support.