Symmetrizing a matrix

You can calculate the average of two mirror-inverted matrix values above and below the matrix diagonal to then replace them with the average value.