I forgot to weight by the inverse of distance.