Thomas algorithm matlab. Solving tridiagonal system by Thomas Algorithm