Colin Aspin's IDL routines