dimensionality reduction simple example