Thanks Victor and John. I changed ksmps to 1, reversed my output coefficient signs and it works. -Nik