dimensionality reduction examples updated with optimize, plot and verbose