Provide C interface to solution with different matrix

Provide C wrapper interface to solution of the linear system of
equations where matrix differs from the one that has been supplied at
the time of AMG construction.