Finished fixing up SAM.py to be more efficient. I also modified duphmm.py to (1) Make -scn optional instead of mandatory, and (2) Fixed a small bug involving sorting a dictionary with floating-point values