I added a norm() fucntion