32-bit multiplication and velocity formula implementation

This is a ridiculous waste of processor cycles:

pow(c,2)

use:

c*c