Computer program for calculating water and steam properties