cleaned, scoring matrix faster