some statismo related fixes in gaussMatch