Determination of thermal damage in rock specimen using intelligent techniques