  import numpy as np
import matplotlib.pyplot as plt
from scipy.sparse import linalg
from scipy.sparse.linalg import LinearOperator
from scipy.sparse.linalg import gmres
from scipy.sparse.linalg import splu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spsolve
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu
from scipy.sparse.linalg import spilu