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

...nction.