New save output

Saving diffraction intensities into different file formats
Changed the name of the function (create_filepath) to _valid_inputs because it is mainly doing the input validation
. Took out the  (os.getcwd() + "/") from 
 os.getcwd() + "/" + output_name + ext