Histogram linear stretch algorithm operation

This PR fixes also issues  #4 and #5