Algorithms for the Solution of Cyclic Tridiagonal Systems