cleaned up code with resharper

- in DrawWaveForm changed Math.Round to Math.Floor