Hi, based on initial testing this appears to be working. There is certainly a bit of a hit in efficiency from how I implemented this. I suppose that there is a more elegant way to get this to scale to higher dims but I'm not entirely sure how without fully refactoring the code.
Please excuse the early commits in the PR, they were in place to make the repo importable to a Colab environment. I've amended those changes so as not to disturb the base code that you've written.
Hi, based on initial testing this appears to be working. There is certainly a bit of a hit in efficiency from how I implemented this. I suppose that there is a more elegant way to get this to scale to higher dims but I'm not entirely sure how without fully refactoring the code.
Please excuse the early commits in the PR, they were in place to make the repo importable to a Colab environment. I've amended those changes so as not to disturb the base code that you've written.