It seems that this was already like this before but it would be great if you could use SGVector instead of the float64_t* and probably the same for C1List or an appropriate data structure.