fix to raise an error when extremum are the same
indentation
addpath sliceomatic automatically
added file