Good start.
Having tried to make the formula for this kind of walking around myself, I understand the work you've put into this. However, like mine, it has some bugs with the walking still, namely the walking forwards and backwards.
But congrats on the strafing and turning, that's really smooth. Great job.