FImageTileAccumulator::CalcSampleWeight

Given the dstance from a sample, calculate the weight.