Code now runs with Gamma deposition Function being calculated once a day which improves run times