Fixes wave animation bug. Adjusts wave parameters.