Matthew R. Ellis told authorities he wanted to kill the victim because of her race.