Fixed bug where measure_sine_pref wasn't being called correctly