Comparison of computational methods applied to oxazole, thiazole, and other heterocyclic compounds