porting an exp implementation
make fastexp compile
exp works for test cases; need more tests