Add precision and recall fucntion, but it's buggy...