I have a similar problem but at the moment I fear there's no real solution for it since you are only able to use one (user defined) matrix in the effect statement. However I pointed this out to Conitec and JCL said that he would implement a way to use general purpose matrices (var[16] arrays) in effects.