Impure elements in battery negative electrode materials