Fixed error in vector norm