Component Gradient Formula for the Frobenius Norm