New method for dHomogTrans (copied from C++ code). Faster and works with TaylorVar.