Update getpeakfeatures.m