Creating the Matrix and the squaring function