Faster version of grad_tauMatrix_LL