Fixed a couple of bugs in the Matlab post processing. Added python post processing