Changed path class

Calculate distance, speed and acceleration changed (still to check!!)