modified Inertia and Velocity symbols. Changed code to acc to pep8 style guide