Adding reponse curve and radiance map code