Revert "refs #10530. Remove the algorithm parts"

This reverts commit b66348fe693bc17ac1c1f36709a2db0f94f0f4f3.
refs #10693. Remove the algorithm parts
refs #10693. Doctest and better docs
Merge branch 'feature/10693_cut_md' into develop