A mineral buy back calculator