[MATH-848] Fixed Schur transformation for certain input matrices, changed index parameter names to indicate their purpose.