gold futures end the week with a gain of over $12