This is C# realisation of Seidel and Jacobi method.