Fixed bug in primitive cell transformation where compatibility between the new
and old lattices was not checked