Adds identical row/column check for row/column switch.
Renames factor to scaler.