Enhancing deep state space models for complex applications