An expert software system to analyze and optimize large sets of revenue data