Update computeWeight.m