Modeling three-dimensional nonlinear acoustic wave fields in media with spatially varying coefficient of nonlinearity, attenuation and speed of sound