Fast algorithms for nonparametric population modeling of large data sets