Add inputting math doc.

Auditors: jack