Adding IDL library routines