checked all the calculations

I checked all the calculations to see if they were all correct.