removed some unnecessary code, changed output image sample and added code to properly return and save the final output image
Merging from github changes
Merge branch 'master' of https://github.com/vatsnv/render_layered_dof