Calculating average, ignoring value 0