Fixed a few more bugs. Status: it seems like it is recursing infinitely in the leap_prob_recurse function. Need to try and track why it is doing so