Fix bug for computing average f1 and recall---it was printing average precision before!