made the test for power expressions green in test_rcode2.py
all tests in test_rcode green
nested piecewise test now runs in test_rcode2.py