allow nan values in Metadata arrays

add tests
Merge branch 'master' of github.com:njwilson23/karta