Rewriting functions from Python to C.
Bugfixes.
makDirectCandidates in C, different results

Makefile now works on Gentoo