Improved tensor3 and tensor4's frobenius_norm methods