[~] Lets try and move away from using D3DX libraries, the math is simple so its just as easy to use Daedulus's Vector and Matrix code. Also makes it easier to merge changes across. Compiler likely compiles this down to code thats just as effective anyway.

[~]Fix up a couple of compiler errors when in debug