Fix rst doctests in modeling package
Merge pull request #1638 from mdboom/doctest/modeling

doctest/modeling