Numerical calculation of stress relaxation modulus from dynamic data for linear viscoelastic materials