Bryan man sentenced to 40 years for sexual assault of a child