Add implementation of likelihood sampling gradient estimation.