NF: now the median_otsu function can have as input non S0 slices and tests with small real dataset were added