Simplified planet gravity calculation, made more efficient