Restrict the expected input with fixed values.
GMM code refactored on 3 files.