Added demo; updated examples and vignette.