Added GPU code to master branch
Merge branch 'master' of https://github.com/STA250/Stuff
optimization: bisection and Newton Raphson