Added documentation about the algorithms