mcp3002.py: improved