notes gradient and directional derivatives 8640191