Modify examples to minimize using gradients.
Add water minimization and nma example.