New text training, img training, and testing procedures.  Also updated the get and set weights from file functions to do so in binary format