Elastic collsions between two circles, matlab