initialize the containers for the calculation
size : int
The size of the square matrix will be (size, size)