add MGF1 class, docs, tests

More of #676