measuring wave size
By grumplestiltskin