Added displaymatrix value and display rotation