Library of miscellaneous astrophysics-related (and some not) C routines