Add button to end view

Fixed another bug in derivPolynomial: range(0, n) = [0..n-1]??