Fix typo in commented code.
Add Extrema class to find minima, maxima, and extrema for a set of samples.
Remove sample_rate parameter from PolynomialResampling#upsample.