Documents and code related to math.