Add method getPerspective to extract info from perspective matrix