Faster log-likelihood gradient evalutation