fixed bug with weights function in wcount_neighbors, this effects 2PCF measurements.