Fixes #54

Now give a warning in metadynamics if grid is adjusted to fit periodicity