Updated NLIN.py so that an average is created from the input files if one is not already specified.