Matrix-based predictions and complex variables

Hi! I think that you will have problems using the absolute value too. The main issue is related to the fact that no internal variable inside the function can be complex.