Computed variances, added tuplisation of results, spit out dataset for bad pvalues, fixed memory leaks