First draft of Impulse Resolution for collision detection