optimized cv::norm with 2 args