C# hydraulics calculator