predict.gravity function

Predict gravity model