C99 toolkit for scientific applications