Implementation of the HySime algorithm for predicting size of subspace
(can be used to find ideal number of endmembers).