multi-threaded gaussian mixture learning