Adding Thyra vector extraction layer to enable templating the
Anderson solver on vector and matrix types that implement traits.