Transfer function simulink example. Rules for inverting a 3x3 matrix are here.