Added doc about pronciples of grouping, scanning process, mahalanobis distance