Latest code for ray differentials