need to finish replacing stuff with gravMass_dist