process_cost_fp function

Process cost for false positives