Added orthographic and perspective projection functions