Update ellfit.pro

Added case to catch matrix with NaNs