Fixed typo, and corrected calculations.