finding diamond riches formula xsof