Agrad/rev tests

Added testing in agrad/rev for basic math (trig especially) functions. If there is any way to change name of this branch to "feature/agrad/rev-tests" please notify me.