Library of IDL general utility functions