First, let's do some mathematical manipulation.
The equation you start with is:
We would like to reduce this to something we know how to solve, like a standard linear system:
To do so, we introduce a diagonal matrix $S_z$ which we call the "signature matrix of $z$". Now, let the diagonal entries $...