precission and recall calculation updated