added EPSSolver code for 1d mirror case, removed Nc and Nr arguments from GetIndex