Implemented calis in C as calis.h.  calis_example.c shows how to use calis.h.