Added some error handling for the function 'feature.doc_convolute'.