sklearn implementation of gap-statistic