changes in how ti is calculated
separate indices in collision calculations
simplified collisions further