fixed some tests in fourd tensor
added a few new knobs: of note being the ability to change momentum after a certain number of iterations, a rename of epochs to iteration for more consistent terminology, and adagrad reset after so many iterations
Merge branch 'master' of github.com:agibsonccc/java-deeplearning