[new] matrix with sum of square