An algorithm for concurrent estimation of time-varying quantities