MOdified unrest.m to regenerate Pavlof spectrograms