General update

There's quite a few things in here that are "broken" and/or "in
progress," (particularly in the Algebra and Geometry folders) but the
NumberTheory.java file is safe to use.  Most significant update is the
isPrime() method, which returns true iff n is prime for all long n.