Refactoring of phase resizing:

should be more consistent now
does not delete lines and create new ones every time you change the pressure/temperature

results in huge speed up...