Moved projection matrix computation to Math namespace.