Return square L2 norm.
template<class TYPE, size_t SIZE, size_t ...Dimensions> TYPE NormL2Sqr(const TTensor<TYPE, SIZE, Dimensions...> &a);