Made some efficiency savings to the code.

Still worried that there are some issues, for example with the time
that it takes to slice the yoda model… There's a roughly linear
relationship between slices and time, but it's not so great with
triangles.