Ensured weights used with global matrices. Other smaller changes.
Ensured weights used with global matrices.
Other smaller changes.

BioMedIA/IRTK,BioMedIA/IRTK,BioMedIA/irtk-legacy,BioMedIA/irtk-legacy,ghisvail/irtk-legacy,BioMedIA/irtk-legacy,sk1712/IRTK,ghisvail/irtk-legacy,BioMedIA/IRTK,BioMedIA/irtk-legacy,ghisvail/irtk-legacy,BioMedIA/IRTK,sk1712/IRTK,sk1712/IRTK,ghisvail/irtk-legacy,sk1712/IRTK