Fixing namespace issue in adjoints_ex5.
Fixing reduced basis examples after recent namespace changes.