Added projection matrix function to Window class.