Implement MahlerSeries struct

We should be able to implement this using PowerSeries with a little bit of tweaking