Rename "row" varible to "bary" in rat classes