New save output

Saving diffraction intensities into different file formats
(N, ) I will include that over there