change the way i build maps to include WCS structure and original fits index as map keywords...
made cosmap routine more robust