Fixed bug in tone map tone retrieval, greatly improved visual quality