Repository of the C porting of Ryan's algorithm