Function to draw matrix with fractional elements

Summary: Allow scalar to be fractional

Reviewers: eater

Reviewed By: eater

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