Switch from KhanUtil.matrix* to kmatrix

Test Plan: visit some exercises that use matrices

Reviewers: alex

Reviewed By: alex

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