modify LU decompose

fix transpose bug