python: getting around division by zero python: getting around division by zero numpy numpy