finished histogram in tonemapping assignment (3-3)