fix matrix_mul
fix matrix_pow
update library