Binom additions

Small additions to C API, which allows to compile binom package