Fixed vector rotate function

Cause I am an idiot, I was overwriting variables before they were being used hence why I was seeing errors in the y axis.