Derivations of multi-loop algebras