first go at caclulating planet gravity