Added image and SED chisqrd calculators and the likelihood estimation function.