Make Theano use weighted cost