added reinhard tone mapping