Corrected algebraic errors