Revert "Commented and Debugged calcSingleXOneWayTime"

This reverts commit 30b11c1657e563838edd8ae0a59774dbde1c514a.