Finished projection matrix implementation