Read me:
To run the program please righ-click on 'MainBayGmmKda.m' 
and click on 'Run'.