fatal bug in isobaric routine fixed.
some changes.