Algorithms toolbox