Checked for empty scan/dose transformation matrics and assigned them as unity for comparison.