AltSchool hauls in $40 million for personalized learning