Merge pull request #43 from imh/sat_not_found_error

Fixes sat not found error
Switched carrier PLL to use old-style parameters
Remove old gain defines.
Documented make_dd_measurements_and_sdiffs.
Fixed bug where ref sat too far to the end of sdiffs not found when making DD measurements for IAR.