fix matrix declaration in tutorial