Pin the feature order before building X.
State the feature order
Use feature order first feature, then second feature. That order fixes how each row becomes a row of X.
feature order=(xfirst,xsecond)
Read row A in that order
Row A contributes X row [1,2] because the first feature is read before the second feature.
AX=[1,2]
Order is part of the rewrite
Changing the feature order would make a different matrix. This lesson pins first feature, then second feature.
pinned order: xfirst then xsecond