add ruby instance methods for using the mexican hat wavelet