Allow closest and farthest methods to take an optional limit parameter.

Default is still 1, but this comes in handy when you want to have the 10 closest objects.