Hyperspectral endmember extraction algorithm PPI, written by matlab. Comment inside