Ignore extra dimensions and pad with NaN for missing dimensions
Merge pull request #913 from tschaub/dimension

Allow for vector data with unknown or inconsistent dimension.