Before revision:  Remarkably, this gradient calculation achieves computational complexity that scales only linearly with the number of taxa under study.
After revision:  Our gradient calculation achieves computational complexity that scales only linearly with the number of taxa under study.