added and documented the sumForces method