Add a decorator to store linear velocity.

The MolecularDynamics optimizer predates decorators and
so accesses the vx/vy/vz attributes directly. Using a
decorator instead is the modern way to do this, and allows
the user to tweak the velocities themselves too.
Use LinearVelocity decorator in molecular dynamics.
Use LinearVelocity decorator.