Revised inputs

Output destination has been added to inputs.dat.  Misc. code cleanup.