Added the angle calculation of the front in the traversal state and prints to debug on webserver.