clean up before returning ILC
fixed bad deallocation of vectors
updated to include writeMap
write map vector to FITS file
add writeMap definition
write out ilc