fixed Preprocessing and added numbers to confusion matrix