Bug fix: Mistake in code that corrects cubic lattice parameters