Add script to compute accuracy and confusion matrix