More small updates

Changed the name of one of the quicksort functions to make it clear that
it does not completely sort
Updated the optimal_divisor to take into account optimized and
non-optimized compilations
Updated some comments