Add state matrix example