Unix shell script to compute the performance metrics from the confusion matrix(whose entries are counts)