precision and recall metrics

Adding precision and the ability to recall test metrics.