Update functional.md

Improved overall formatting.