updated comments and fixed bug in DNtoReflectance