added fitellipse_array and imfindCA_array