Added multiscale function - takes octave as arg