Construction of sum of absolute difference (SAD), mean absolute error (MAE) and sum of square difference (SSD) measures over finite set of matrices