started to implement interleave - still need to test. I believe that I figured out the cheating way to define the 'ruler' function. Still need to analyze the results to identify the clever way of figuring out the ruler function.