Hi I am getting this error when I did run the code for your synthetic data: <img width="607" alt="error_mountainsort4" src="https://github.com/magland/ml_ms4alg/assets/76111159/f31eb9d9-7d13-4884-9a8f-d61ccf531f6e">