SMS dit: Nonnegative and compartmental dynamical systems