Thanks for addressing my questions about using pot for large matrices, it works beautifully!
Now, I have a situation in which I want to force certain matches to happen (namely, I want to ensure that certain positions in the output matrix have a specific, non-zero value).
Do you think there's a way to use pot for this case?