Changed over to ASC_NEW* for some solver memory allocation. Fixed up file headers. Change debug and error output to use new mechanism.