Modifications And added confusion matrix