change variable names in individuals functions and fix errors introduced by removing GaussMat and MarkovMat type aliases