scalar & slice gradients too, in addition to map