A FLEXIBLE STATE SPACE MODEL AND ITS APPLICATIONS. (11th October 2013)