Text this: Modelling of a shape memory control system and L2 stability analysis