fixed a bug with exponent derivatives
parser now works, except for brackets
re-wrote parser, now working!