Small tools written in C for Latitude analytics