Collect on the supplied value
a double representing the observation
a double representing the weight of the observation