Made memory lookup more platform independent

Swapped over to psutil to do the memory lookup which was preventing it from running on OSX.