Fix indentation
Add functions from calculus module to sphinx docs
fix typo in err message
Merge pull request #2956 from skirpichev/fix-calculus-docs

Add functions from calculus module to sphinx docs
Distance method of the Ray corrected.
Docstring changed
decorator added