add write.z.score.to.CSV