change INPLACE matrices by IN matrices; hence, conversion is done by numpy, no problem of data conversion; there is a copy of matrix (more time), but do not care