updated entropic extractor

it now handles errors and sizes the templates