yes, the GSL part is exactly the same as in the PeakPickerHiRes - I suggest to just use that part of the code and see how Christian made the switch there. I can also do this myself.