Nearly working first version

Still a little trouble with multiplets.  Better to have two dicts
of (maybe) arrays instead of a dict of (maybe) dicts
Multiplets now work