Directional derivatives and gradient