A Cost Model of Schools: School Size, School Structure and Student Composition