Revert "Removed mathmpl from sphinx extensions"

This reverts commit 173b63a7a72ce7b35908117c3db2538480913ed4.