update comments
update figure references in vignette
fix issues from package check