Avoid returning duplicated data
Removed im_dict_to_hazardlib
Added a docstring, a comment and improved logging
Merge pull request #1423 from gem/save-memory

Avoid returning duplicated data in the classical calculator