updated epi.c to work with imgcoord.c
Need to clear if mm_np is given by refence or by value actually we mix it up in epi.c, imgcoord.c and multimed.c