Fixed the path class, it works now.
Initial elapsed time value is set to zero.