Fixed errors in subcluster matrix dimensionality reduction code.