Switched to linear space instead of logspace. Didn't make sense to do in logspace for projected distance since log noise only in Z axis.