I wrote some similar routines and posted them to the kcl mail group circa mid 91. Search for 'my-universal'. (I don't have them handy to send you again). Anthony Berglas Rm 503, Computer Science, Uni of Qld Ph 07 365 2812, Australia.