Adds gas mixing proc and updates gas mixer

Also includes a whole bunch of fixes and updates for atmos machinery