Purity measurement by differential scanning calorimetry: An alternative method of computation