New save output

Saving diffraction intensities into different file formats
Ah, I see where this is done now...