Computational algorithm for direct appilcation of tool life values in machining economics