Moved calculation of the weights to commonlib
Moved calculation of the weights to commonlib


Former-commit-id: 95c8faedf88786b4569fab40dfa6fd87efec8088 [formerly 95c8faedf88786b4569fab40dfa6fd87efec8088 [formerly aec7cde57d522d286238e573cca16aeb9f4a86b1]]
Former-commit-id: b157284c81c882c621927de5d202c38ea7483e70
Former-commit-id: ab0fbc924490610364518fe138a150ab28da202a
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine