Localized State Space And Polynomial Filters With Applications In Electrocardiography