foundVariables problem in createHists, possibly not transposing matrices properly