Random matrix theory and L-functions in function fields