Reinserted compute_fscores at the end.
Cleanup for csv output.