A small library of functions and macros for use with ADMB