Updated mirpyred.py, added a new sample settings file, fixed a bug in calib.py