modified here and there to work with liver data.
added "or die" to file open for error checking
for running everything on public human data. almost done, but need to
add in changing the shared memory.