Added the matlab training data generator