MEASURING THE LEARNING ENVIRONMENT OF THE CLASSROOM AND ITS EFFECT ON COGNITIVE AND AFFECTIVE OUTCOMES OF SCHOOLING