I was trying to think of a faster way to implement this code. Tried vectorizing the init of the glider object, but could not figure out how to pass in the multi