PATENTED COST SCORE CALCULATOR IMPLEMENTED