Allow passing a sampling rate to PratiMediod; Remove output from Contour#corners