Added trainTarget method for GMM based model generation