fix bug in Multipoint._distances_to()

previous implementation was incorrect, and the newer one is about 3x faster to
boot