Array Map In Typescript Angular Velocity Equations