Fixed n in z_scores()