Started to add interface code for preconditioning.
Still a work in progress.