sped up fprop, changed training to 1 minibatch per frame