Density Functions Updated

Gravity, Mass, and Density are now working except prem model