Formulas in PrintSimulation Checked and the whole file has been
reorganized.