Avoid division by 0 in normalize and remove duplicate normalize code
Avoid division by 0 in normalize and remove duplicate normalize code

murphyke/avocado,murphyke/avocado,murphyke/avocado,murphyke/avocado