Fix t-dist confidence interval

The t-dist confidence interval should use n-1, not n.

Reviewed-by: Trevor Norris <trev.norris@gmail.com>