Update compute_weights.py to the new B matrix format
typo transpose