Added new super awesome path smoothing function