added in calculations for classification accuracy