State space fomulation for linear viscoelastic dynamic systems with memory