Docstring changes, added math.