Teen sentenced for rape, murder