apply_transformation method corrected for defect transformation classes.
return_alternatives added to extend_transformations method of TransformedStructure class.