calculations and formulas at a gold mill