defined variables, min from each row subtracted from each cell