Computer calculations of semiconductor surface structures