Simplify gamma-correction for manual rotation calculation