Completely functional delay

All programs corrected to use delay. During testing, I discovered a bug
in linear portamento modes that I will fix soon.