Changed function calls to T_phX and h_pTX as they are not implemented in PartialMedium.

This is for issue #19.