Once more with feeling - fixed REFPROP function

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>