Loop algebras and the Krichever-Novikov equation