Analysis of Formation Gas Processing in Geothermal Projects