Mathician is a Python package, free, and is a simple plugin for math. It has simple math functions for the package.