The estimation of neuronal population density by a robust distance method