Chern-Simons theory for knots and matrix models