OK, here we go. MUCH simpler now. This needs to be run through your regression tests with other atom2 style dive computers. But it seems to work well both with the computer I have access to and with the memory dump you sent. Sadly, that one has even more boring dives than mine does - but the poor person does appear to have one of the totally broken first generation tank transmitters. It cuts out all the time and occationally sends completely bogus values. I'm proud to say that the dive plot with Subsurface looks orders of magnitude better than what the Aeris software shows. :-)
/D