Added utility function to calculate the norms of a list of vectors