Removed warnings of unused imports and variables
will ignore scores that are NaN