Memoized sin calls to speed up sound file generation
Cleaned up morseToTones
Tweaks to improve performance slightly