Calculating Gas Bill Formula