encore : Estimating Galaxy N-point Correlation Functions in O ( N 2 g ) Time