fix determineWarpingFunctions example
fix createMassPeaks usage