cleaned up gmm specializer code. Fixed test file for gmm specializer