updated makefile so it compiles on OSX. need to test Linux build. simplified a few things. started modifying test.py
fixed HDF5-related bugs