Typescript Push Into Empty Array Matlab For Loop