Typescript Push To Empty Array In Matlab For Loop