You might want to look how other libraries in different programming languages implemented them. There are also sometimes pseudocodes or reference implementations in Wikipedia.
yes good idea, i'm looking for interested and skilled people in development of this algorithms.