Added support for dimensionality reduction with 99% variance retention