StateSpace operator debugged and fully functional