Sorry for the necro, but as this was not working anymore with v5.3 (also 5.x maybe)…
Just replace the 10 in
float tVariable = (pow(((frac((iTime*(tRate*-1))+distanceCalculation))*invertManualScan),10));
with 2, don’t know why, did not have time to dig, but it works only with power of 2.