Convicted rapist gets joint custody of victim's child