Added a prototype ratio of light/dark curves to ivAnalyze, and switched ivAnalyze to using argparse.

Corrected a spelling error in ivtools.py