Fixed naming issue in Gradient