Updated gamma value in matrix mode