Added comments to the ek_calc_m_from_n transformation and got rid of the seg fault. I still need to check the physics and the unit conversions.
Added a few comments for the electrokinetics pressure calculation, as well as for the mode transform. The pressure calculation is not finished yet, since there may still be a significant problem with units and the way modes are converted to the pressure tensor.
Checked the lb pressure tensor part. Still some confusion about rho cs^2 term vanishing in the trace.
Tested the properies of the pressure once again, not too sure about the agrid/density stuff.
Playing around with the accelerated frame, no satisfactory test found.
Added the gradient part of the pressure to the force and optimized the pressure calculation.