5 bugfixes in Modelica wrapper, added fluid type function to CoolProp.cpp