changed tabs to spaces in algebraic