Class in C# with different algorithms for calculating MAV.