Modified AD example to use LAPACK through Teuchos wrapper