finished simulation of centripetal force