Changes to program() and calibrate() for Rurik's new bitcode, added dopsdcores() and dohist()
Changes to sinewave fits to keep the fit accurate even if the amplitude is high enough to clip