Update units.py

Fixed divide by ~0 error