An Immersed Reproducing Kernel Particle Method For Modeling Inhomogeneous Media