Removes variable declarations from loops, standerdizes applyForce parameters