For Each Trial Compute The Derivative Of The Vector Training