Small optimization in multi_matrix_operations and modifications in the storage of pack_loc in cv-adv-dif. Disabled