added function misclassification.from.table this is v. 1.0.2