C# of Romberg algorithm for Numerical Analysis