maxNumEigenrays now replaces nEigenrays and is written to file correctly

This closes #20