remove l2norm() type so it works for lists