Finite Dimensional State Representation of Linear and Nonlinear Delay Systems