Pseudoinverse implementation and plugging in the energy transition code.
-A (resp. -Z) flags to indicate line in input file correspondent to start (resp. end) states.