Makefile now links to math for machines that need it, gcd algorithm added, testing performed on our 1024 bit representations