An improved time domain meshfree method for analysis of quasi-static and dynamic inhomogeneous viscoelastic problems