New model treats babies withdrawing from drugs