Update/Added CIs for precision/recall

Modularize sample and estimation procedures for different measures.