School Inputs and Educational Outcomes in South Africa