added -ae option to select algebraic equation solution method.