Fix #25 Improved algorithm docs