Allow some DenseMatrix operations with mixed types

This needs a little testing before merge.