Vector and Quaternion classes cleanup.
Fixed typedef type on vectors.