Add some checks for the unit cell constants