re-correction of test_gradient.m (I don^'t know why it has changed)