A small numerical library in C#