'Runs the Kalman Filter'

def kalmanfilter(self, params, init_state=None, init_var=None):

    if (self.p == 1):
        return _univariatefilter(init_state, init_var)
    else:
        raise ValueError('No    multivariate    filter    written    yet')
