how does a gold extraction machine works