Added t output.
Fixed dt value.
changed mode.