Added BindingFlags and TypeExtensions to match latest Accord.NET merge