Calculations saving added

Added calculations data saving into temporary files