takes a objects mass and velocity to find it's kinetic energy