Nest trig_dist() in rl_dist() instead of replicating the implementation.

Simple cleanup, no need to replicate the trig dist code.