C# Class with different algorithms for calculating MAV