factored out trainers, added momentum, also fixed initalizing theano shareds with float64s slowing everything down