man sentenced for raping girlfriend