Update doc string for differentiate

Make clear what '[x x] means by adding an example for taking the first derivative and explicitly mentioning '[x x] is meant to differentiate twice.