Fixed unfinished from last commit. Clean up needed

Finished spinForMemoryPack() function