add state space model and minor edit to a previous file.
Merge branch 'master' of https://github.com/mclark--/Miscellaneous-R-Code