State-space reconstruction