New save output

Saving diffraction intensities into different file formats
To be picky, `np.floor` returns a float and iirc raising to an int is faster.