This function generates an SnnsR-class object, loads the given data there as a pattern set and then uses the functionality of SNNS to save the data as a .pat file.
savePatFile(inputs, targets, filename)
a matrix with input values
a matrix with target values
the name of the .pat file