fixed negative errors
fixed exponentiate for integers only. Still needs fix for other types
fixed includes
Merge remote-tracking branch 'origin/master'