MATLAB function to export the Theta NN parameters to a (large) text file.