Fix column names for dataset construction from map

column names were mixed up when constructing a dataset from
a map, this has been fixed by introducting a transpose
Merge pull request #134 from nblumoe/master

fix column names when constructing a dataset from a map