dd coefficient type and make directrix update when Show Me clicked

Summary: Same as #D8012

Reviewers: eater

Differential Revision: http://phabricator.khanacademy.org/D9289