Got the decay function working with saw