Fix problem where unuseful samples wer not ignored

Samples in the mapping file but not in the coords file would make the
script fail with the --custom_axes option if the values in the metadata
mapping file was not numeric.