Adding intermagnet catalog generation code.