check for convergence to training set rather than setting nepoch
update gitignore
introduced convergence check; implemented archiving.