Changed the gradients a bit.