Calculate lattice constant from the last findpeak if available. Assumes a cubic lattice.
CalcLattice