fixed t-test fucntion to compare two class subsets. Before I was comparing all of the concatinated rows of the two classes