Application of artificial neural network to determine the thickness profile of thin film