added vignettes and demos, changes in code and help files accordingly