Fixed bug in radius search which was limiting it to the number of
dimensions instead of the number of points.