[x] Previously, preprocess_rri was applied in-place, which can be confusing and error-prone. We now return a copy of the array, leaving the original array unchanged.
[x] Previously, the function would fail if a list was used as the input. We now force the conversion to a numpy.array of dtype float.
Thanks, Raphael