fixed accuracy calculations for dataset3