A math teacher at a top San Francisco school has been placed on leave after allegedly adding fat-shaming and misogynistic questions to students' tests.