Missing initializations fixed. Added methods to create orthogonal projection matrix.