added function for combining single trait trials data..