Fix duplicate plot in output + misc cleaning
Adapted the code of 1DFrom2DProjection to 2DFrom3DProjection (still need to be tested)