NF: Find the closest vertex on a sphere for an input vector.

This is useful for both https://github.com/nipy/dipy/pull/460 and https://github.com/nipy/dipy/pull/419 so needs to take precedence. It's not quite done yet, though. Will hopefully have a chance to finish this later today.