moved sigma_delta_modulation to sdm.c