Cleanup and bugfixes to MonteCarloAnisotropicBarostat