Loop Through Object Typescript Angular Acceleration Physics