Similar

Before merging:

- Implement similar function from paper
- Clean up fox code
s/rows/diffs/g