Fixed serious t-test bug (was getting wrong-sided p-values).