changed convergence criteria to just mue, because weight factors seemed
to not converge linearly.
Added testing methods and parameters, now -o will output the train data
into that directory and also read from it for testing