The gradient with respect to a symmetric matrix | Synapse