DOC: Fixing formula in docstrings

The formula did not match the implementation.

Also, x and t were mixed as independent variable. Changed to x, following the example of others.
Merge pull request #2966 from Dapid/wavelets

DOC: Fixing formula in docstrings