FIX: Detects scalar indep vars properly; also accept Python lists.