committing ntrf code from summer 2013. directory includes misc. utility functions
that were used during the summer, but not necessarily needed for the main program