Block diagram for state equation