We should check that the size of the arrays going into __init__ for the earth model matches, rather than relying on later tests. See #8.