Added functionality for saturated states

Completed pressure/temperature+quality lookups. Added methods to
modularize code.