Typescript Add Two Arrays Together Matlab Simulink Electrical Circuit