added cache ratio events, better pca demo, corresponding additions to vignette