A novel implicit method of characteristics using pressure-referenced correction for transient flow in natural gas pipelines