Moved mattools outside of pa_tools. Tests are passing for all new modules