Update analyze.R

RE: bug posted in lavaan Google-group
0.5-5 Not throughly checked, not merged with the mronkko's pull request yet
0.5-5 before merging mrokko
Start merging
Bug fixes, latent scores
Fixed an issue when distributions were not defined for sequential data generation