Erase columns of zeros: can save some time in pseudoinverse.
matrix (ndarray) – The array to clean.
The cleaned array.
ndarray
clean0