fixed spring rule and given right name for the unit function in vector
optimised headers in physic engine