updated arff creation and attribute expansion