correct test for shape errors
This test was previously incorrect, but because we didn't actually check the number of orbitals on constant values on finalization this was not caught.
This test was previously incorrect, but because we didn't actually check the number of orbitals on constant values on finalization this was not caught.