fixed some small formatting glitches in code and added a way to make head lean affect the position of the head