Hippy, thank you so much for your quick response and for pointing me in the right direction.
I got very excited when I used your code and got the following result.
However, the results were not quite as I expected, but after modifying your code and using the separate b variables of the w...