Make linear state updates work with sympy 0.7.3