Took out old almanac based stuff from glue file
better non-nan
using the better non-nan function