added custom equation documentation, fixed missing brace.