Ghost commit for closing previous fix. fixes #88.
Added transformed data map and removed for loop.