Less of a hack: avoid the division/multiplication if the stddev is 0.
Comment.