added comments to math.s