got elastic collisions working!