Added diffuse emission model
Added post function call
Restructred image measure functions and added tests