New save output

Saving diffraction intensities into different file formats
changed the docstrings of _validate_input