Added test that benchmarks the interaction functions against their vectorised counterparts. See merge request !306