Updated all algorithms.