fixed reshaping of new_color matrix