Fix library-search in configure for Macs (temporary)
Fix configure file again and split some functions into library
Use more realistic supernova density for 2D simulation
Fix Makefile