Updated so that the path followed can be at any angle.