added function and analysis of niche width