Typescript Add To Start Of Array In Math