Make python implementation conform to output spec

Before, the matrices created by matrix_multiply.py were not prefixed
with the dimensions of the resulting matrix.