Refactoring of saving

- Create a pack utility function for putting RDD contents into a local
array
- For the user, save functions identically, but is now using the pack
function which can be used elsewhere (e.g. for plotting)