how to calculate gas fired boiler cost