added write csv for eltonian niche width