Perform Gram–Schmidt process without normalization.
Array of basis elements.
Threshold for zero.
The orthogonalized basis and its dual (duals of near-zero basis elements are coerced to zero).
Perform Gram–Schmidt process without normalization.