What's wrong with just using np.ma.resize? Doesn't work regardless?  Also, why use resize? Why not np.broadcast_arrays()?