Added weight params to train(). 52% accuracy