Fixed gradient magnitude breaking ambiguity.  Updated string representation function.
Moved mini-batch yeilding to mlutils.