New save output

Saving diffraction intensities into different file formats
we don't need to use int here, already np.floor.