corrected onehot for var5 and dummy. 1000 samples now works