new model function for WK training
Merge branch 'master' of github.com:glorotxa/SME