Fixed division by zero problems. Corrected display of data.