Removed dependency on System.Numerics