I had a little problem with the standard deviation, but Ken helped me to organize my code so everything could make sense.
Thank you Ken!
https://github.com/marinaruelas/WSQ/blob/master/wsq10
Wsq10 by marinaruelas is licensed under a Creative Commons Attribution 4.0 International License.