Fixes WavFileWrite's audio size calculations. Fixes SineWave duration calculations. Normalises tabs and spaces.