Calculation loop, first one slow changing value, then several quick varying values