Finite-Interval and Partial Stochastic Realization Theory