Working damping functions! Working wave simulator!