An improved computer program for the thermal performance of a solar water heater