Change "stanford" group name prefix to "openssl" since these groups are what are found in OpenSSL 1.0.1.
Fixed bug in math logic. Only the exponentiation is modular.