Allow the user to specify data arrays (untested but normal functionaly works)
Fixes #16