Nonlinear reconstruction of bulk and shear moduli variations using the kazmarcz method