Added gamma correction