Corrected a nasty run time error. In the set_crystal_save_flags methos the loop ran from 0 to MAXSCAT, while the array was allocated only for the actual number of atom types, which usually is less than MAXSCAT. Resulted in non-reproducible errors while deallocating non-related arrays.....