Remove unnecessary code from orthogonalize