Ravindra double ton has New Zealand in control of first Proteas Test