I need to measure distances from areas, represented by polygons, to rail stations, represented by points. I use the Near tool, but the issue is that many stations are within the polygons and the distance is zero. I'd like to measure the distances from stations (points) to the centroids of the polygons instead. Is there a way to switch to this method of measurement?