[new] matrix with sum of square
[new] set to 0 matrix rows and columns