Library of C# Math Functions