Statistics for An Adaptive Metric for BRDF Appearance Matching