Analysis and Optimal Design of Gas Storage Reservoirs