run_calculations function

Run calculations