SimonSimon 33322 silver badges88 bronze badges one Hi, many thanks in your reply. I put your code into a for loop to produce the output into a list, but this, like other techniques, also threw me an error zero-sizing array to reduction Procedure fmax that has no identity Use other hashtags like #stress and anxiety, #melancholy and #bipolardisorder