Integrate x^n (n≠-1) (#908)