bug fix in multimed.c init_mmLUT and get_mmf_from_mmLUT - the nr,nz were doubles, not integers, also added two free statements from Ad Holten
in check_multimed.c was a bug in test_multimed_nlay that caused segfaults on Mac OS X
now I can test both 32 and 64 bit