Matlab implementation of "Iterated Cumulative Sum of Squares for retrospective detection of changes of variance"