Man sentenced over rape of 13-year-old girl