Add isSquare, foreach, addition, and subtraction to static matrices.