Fixed bug in calculation of weighted ensemble covariance that caused
covariance to collapse to zero volume. This bug came up when ln(p) was
very low for all samples. The fix involved shifting ln(p)'s in
calculation by ln(p_max).