Removed forgeted console.log
Filter null and NaN values from function normalizeMatrix