Add cos()
Add comments to math.c