corrected getForce function returning bad values