MacFlinCor and its application to fluids in Archean lode-gold deposits