Fix issue with correlation on groups

Both groups and datasets use getData() to get an array of the data. We
were previously skipping this step, then running into issues with the
output of getArray() not being an array.
Merge pull request #127 from tpkelly/develop

Fix issue with correlation on groups