matrix command now works :), also live updating of the latex field is also working