A C library for bufferless polynomial regression