Add cursor functionality.
Some minor changes here and there as well.
Need to come back to this and implement cursor locking properly, or at least make it vanish.
Implement matrix inverse by brute force.
Might be a faster way of doing this, but I can't think of it right now unless it's rotation-specific.
Make movement go in the right direction after moving the camera.