                 % Compute separation between elements
                        int.kinemat = int.kinemat.setRelPos(p1,w);
                        
                        % Check if wall is within verlet distance
                        % Assumption: particle do not go directly from
                        % interaction to outside the verlet distance
                        p1.verlet_w(end+1) = w;
                        
                        % Check if separation is greater than cutoff distance
        