Added implementation of new algorithms. Moved to flint 2.4.1