Add SquareUtil.fromAlgebraic