Simplify powers of $i$ (#644)