For Each Trial Compute The Error Rate