Added --profile option to run Python profiler
Add --profile option
Convert findMeanSD script to a method in calibration.py
Replaced findThresholds script with method in calibration.py
Split findMeanSD into smaller and more manageable methods
Edited comments