make the coefficient matrix array images passed to ApplyCD be 2D at the Python layer
(#524)