Added cluster checking for gaussian mixture model