Added in signal array calculation (trial)