[fix] return None for x**0
[fix] product of products, product of constants