Removed accidentally added apply_mapping_to_matrix