Digital filtering methods, with applications to spacecraft attitude determination in the presence of modelling errors. Part II: Extension of theory, and applications