Add debug option to simulations (to show arguments and results of formulas). Repair calls to "compute" functions.