added source for tonemap function