fixed issue for getting mean of constrained model in gaussMatch