Correct brightness and contrast matrices