Find a basis [math] for the vector space of [math] magic squares. A square matrix is magic if the sum of the numbers in each row, column, and diagonal is the same.

[math] [math] [math], [math] [math], [math] [math] [math].