Merge pull request #75 from rkskvk/develop

some correction
Correction for min_element, stable_sort, and generate