Merge precond and solver structs in python wrapper