Helper perspective matrix gen method