Changed mttxx to mttx - in implicit integration smx is called once
with x in the linearisation the same as x in the current state