Modeling And Cycle Optimization Of A Near-Isothermal Liquid Piston Compressor/Expander