montgomery considers multiple factors in math exam failure rates