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.