Update inputReader.py from Meng