Liberty man sentenced for rape