Fixed t-test code in experiment