Added comments to some calc functions