Added 1-norm functionality.