Dear Wolfram Moderation Team:
Good morning, I am very thankfully surprised to you for selecting my post for the "Staff Picks" column!
I took me a lot of time to do this, and after many trial-and-error attemps, I arrived at the form posted yesterday.
Please feel free to re-check the code, entering some more complicated array, changing the dimensionality of the arrays used, etc. just to be sure that there isn't a mistake lurking inside, or something else that may make the computation slow. I will also greatly appreciate suggestions for improvement, maybe the same results could be obtained with a simpler code.
Best regards,
Alberto Silva Ariano