Correct casts or entities of some common functions.
Rename "compute" function to "calculate". Function "compute" now returns a holder and function "calculate" returns an array.
Add debug option to simulations (to show arguments and results of formulas).