Change PES normalisation

PES and inverted image are not renormalised to 1 anymore but taken
directly from SVD solution. This is done due to the large error in
normalisation at very low signals where the sum of negative and positive
values produces close to zero result. Some other small modifications
were done, including bug fix for image transpose for binary files.