Pulling up quick-return logic for diagonal matrix multiplication into GenericMatrix class
mul_full: scalar case is already handled
mul(MX(1),MX(0)) will be dense now
Merge pull request #587 from jgillis/develop

Pulling up quick-return logic for diagonal matrix multiplication into GenericMatrix class