Fixed bug in dataAccess which could not cope with 1D positions
Merge pull request #415 from jgrewe/retrieve_data

Fixed bug in dataAccess which could not cope with 1D positions

LGTM