Modeling SNR shock waves expanding through the magnetized inhomogeneous interstellar medium