I am looking for a way to find the nearest point for each point in the same layer using ArcGIS network analyst? I tried using the origin destination matrix and used the same layer for both origins and destinations but I got the nearest point being itself, with a distance of 0 meters and a time of 0 minutes.