It looks like the default feed location is too close for this configuration. If you set it to
pm.FeedOffset = [-pm.Length/4,0];
Then the script works just fine for me. Also you are using array in the script, you may want to use fmcwPatchArray instead so all variables are defined.
HTH