Added comments to speedCalc