Test the performance impact of skipping the unused parts of the change_unit_cell method when either the unit cell shape does not change, or there is no offset. Especially the former could be important, because it involves solving a few matrix equations.