fixed mi.weights bug

for K2 data, MergeImages halted due to incorrect initialization of
mi.weights.