Few modification of ntherory

1. Fix broken link in html
2. Remove extra ()
3. Use pow instead of square_and_multiply