added new optional arg, changed rounding for integer output, changed sigfigs
Merge https://github.com/bringsyrup/GravityPowered