Fixed norm() bugs