nmaweight function

Evaluating study weights and contribution matrix