Add imaginary unit to pressure computation.
Make sure linear exponential array is dimensioned correctly.