added confidence matrix prediction for multinomial classifier