Clarify equation parsing regex
Clarify main function input handling