Added normalizeByRow
Updated main for full test of subjects