A computer program for structural refinement from thin film XRD patterns