Fixed data_out() to work now that pH is recorded in the output bunch on multiple scales instead of just "pH"; the blunt solution here is just to list all the scales as separate columns, and let the user sort it out.
Fixed crashes due to the the .size attribute not existing for scalars by swapping out bitwise ANDs for logical ANDs (which perform short-circuit evaluation).