Discrete-time state-space with CoffeeScript objects.