Finishing setting up fixtures for unit testing.
Including math.
Correcting mpi inclusion.
Converting some unit tests. Still a lot to go.