Added example calculation, and fixed some typos