Fix sine wave period

Convert to seconds before feeding into angular sine function
calibrated to seconds.

Fixed with help of Katie McLaughlin.
One-off program to send a source dictionary update
Refine debug output